@include('admin.header')
<link rel="stylesheet" href="/static/admin/bootstrap/css/bootstrap.min.css">
<div class="container-fluid">

    <!-- 手动报单记录 -->
    <div class="col-md-12" style="margin-bottom: 20px;">
      <div><span style="color:#000000;">进账统计：</span><span style="color:red;">{{$into_count or ''}}元</span>&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">出账统计：</span><span style="color:red;">-{{$out_count or ''}}元</span>&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">平账统计：</span><span style="color:red;">{{$p_count or ''}}元</span></div>
        <table class="table table-striped table-hover">
            <tr class="info">
                <th>转账原因 </th>
                <th>原因编号</th>
                <th>统计金额</th>
                <th>货币单位 </th>
                <th>转账笔数 </th>
            </tr>
            <h4>入账（<span style="color:red;">{{$into_count or 0}}</span>）元</h4>
            @foreach($intodata as $val)
            
            <tr>
                <td>{{$val->reson_name}}</td>
                <td>{{$val->reason}}</td>
                <td style="color:red;">{{$val->bbb}}</td>
                <td>{{$val->currency_unit}}</td>
                <td>{{$val->aaa}}</td>
            </tr>
            @endforeach

        </table>
      <!-- 分页 -->
        @if (!empty($intodata))
        <div class="page_list">
            {{$intodata->links()}}
        </div>
        @endif
        <table class="table table-striped table-hover">
          
            <h4>出账（<span style="color:red;">-{{$out_count or 0}}</span>）元</h4>
            <tr class="info">
                <th>转账原因 </th>
                <th>原因编号</th>
                <th>统计金额</th>
                <th>货币单位 </th>
                <th>转账笔数 </th>
            </tr>
            @foreach($outdata as $v)
            <tr>
                <td>{{$v->reson_name}}</td>
                <td>{{$v->reason}}</td>
                
                <td style="color:red;">-{{$v->bbb}}</td>
                <td>{{$v->currency_unit}}</td>
                <td>{{$v->aaa}}</td>
            </tr>
            @endforeach

        </table>
        <!-- 分页 -->
        @if (!empty($outdata))
        <div class="page_list">
            {{$outdata->links()}}
        </div>
        @endif
       
      
    </div>

    <div class="margin:5px;"></div>

</div>


